<!DOCTYPE html>
<html>
<head>
<title><?php echo $title; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/admin/css/reset.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/css/common.css" />
<link rel="stylesheet" type="text/css" href="<?php echo base_url(); ?>assets/admin/css/login.css" />

<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/jquery-1.7.1.min.js" ></script>
<script type="text/javascript">
	$(document).ready( function() {
		$(':input','#admin-login')
		 .not(':button, :submit, :reset, :hidden')
		 .val('')

		 $('input[name="email"]').focus(function(){
		 	$(this).val('');
		 })
		 $('input[name="password"]').focus(function(){
		 	$(this).val('');
		 })
	});

</script>
</head>

<body>
<div id="login-form">
<h2>My Life My Eulogy Admin Login!</h2>
<?php $this->message->display(); ?>
<?php echo form_open('admin/login/validate_credentials','id="admin-login"'); ?>

<p><label>Username: </label><input type="text" value="" name="email" id="username" /></p>
<p><label>Password: </label><input type="password" value="" name="password" id="password" /></p>
<p><input type="submit" name="submit" id="submit" value="Login" /></p>

<?php echo form_close(); ?>

</div>

</body>
</html>




